package com.fankui.serviceorder.client;

import com.fankui.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ClassName UcenterClient
 * Description TODO
 * Date 2023/12/11 23:40
 *
 * @Author 范奎
 * @Since JDK 11
 */
@Component
@FeignClient(name = "service-ucenter", fallback = UcenterClientImpl.class)
public interface UcenterClient {
    @GetMapping("/ucenterservice/member/getMemberVo/{memberId}")
    R getMemberVo(@PathVariable("memberId") String memberId);
}
